package vip.xiaonuo.modular.manage.biindextype.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import vip.xiaonuo.modular.manage.biindextype.entity.BaseDataTitleRelevance;
import vip.xiaonuo.modular.manage.biindextype.mapper.BaseDataTitleRelevanceMapper;
import vip.xiaonuo.modular.manage.biindextype.service.BaseDataTitleRelevanceService;

import java.util.List;


@Service
public class BaseDataTitleRelevanceServiceImpl extends ServiceImpl<BaseDataTitleRelevanceMapper, BaseDataTitleRelevance> implements BaseDataTitleRelevanceService {
    @Override
    public List<BaseDataTitleRelevance> findByIds(List<Long> ids) {
        QueryWrapper<BaseDataTitleRelevance> queryWrapper=new QueryWrapper<>();
        queryWrapper.lambda().in(BaseDataTitleRelevance::getTableId,ids);
        List<BaseDataTitleRelevance> list = this.list(queryWrapper);
        return list;
    }
}
